From b63283cc6d42a8f08bc31a123a050e261ce7d08d Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Sat, 19 Mar 2022 00:48:02 +0000 Subject: [PATCH] disable upstream's font installation rules Gbp-Pq: Topic disable Gbp-Pq: Name font-installation.patch --- tools/makedep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/makedep.c b/tools/makedep.c index 782bd2e..0ec8600 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -2935,7 +2935,7 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source, fontforge, root_src_dir_path( "fonts/genttf.ff" ), source->filename ); if (!(source->file->flags & FLAG_SFD_FONTS)) strarray_add( &make->font_files, ttf_obj ); } - if (source->file->flags & FLAG_INSTALL) + if (0) { add_install_rule( make, source->name, ttf_obj, strmake( "D$(fontdir)/%s", ttf_obj )); output_srcdir_symlink( make, ttf_obj ); @@ -2955,7 +2955,6 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source, tools_path( make, "sfnt2fon" ), ttf_file ); output( "\t%s%s -q -o $@ %s %s\n", cmd_prefix( "GEN" ), tools_path( make, "sfnt2fon" ), ttf_file, args ); - add_install_rule( make, source->name, xstrdup(font), strmake( "d$(fontdir)/%s", font )); } } } -- 2.30.2